const config = {
  isCustomProertyPannel: true,
  propertyPannelName: `config_${process.env.xvueNameSpace_}multi_params`,
  config: {
    property: {
      componentStyle: window._adoPremise.uc.theme,
      params: [],
      isPreviewVisible: false, // 预览端是否可见
      isKeepCache: true, // 是否缓存参数
    },
  },
  events: [
    {
      id: '93bdc860-1411-11eb-abea-6f37768b3210',
      key: 'common_params_evt',
      label: '默认参数事件',
      type: 'out',
      description: '',
      parameters: [],
    },
  ],
};

if (window.isLocalEnv) {
  config.config.property.params = [
    {
      key: 'category',
      value: '吉利莲',
      desc: '搜索类别',
      valueType: 'string',
      optionValues: [
        { value: '吉利莲', desc: '吉利莲' },
        { value: '巧克力', desc: '巧克力' },
        { value: '费列罗', desc: '费列罗' },
      ],
    },
  ];
}

export default config;
